package com.yc.sole.framework.mybatis.page;

import com.yc.sole.framework.validate.DeleteGroup;
import com.yc.sole.framework.validate.UpdateGroup;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.Set;

/**
 * @author yizuomin
 * @date 2024/1/20 13:55
 **/
@Data
public class BaseBatchIdsReq {

    /**
     * id集合
     */
    @NotEmpty(groups = {UpdateGroup.class, DeleteGroup.class})
    private Set<Long> ids;
}
